h1, h2, h3, h4, h5, h6 {
    color: black;
    font-family: "Roboto Slab", "Times", serif;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 1em 0;
}

h1 {
    font-size: 3.2em;
    margin: 0 0 0.5em 0;
    line-height: 1.3; 
    border-bottom: solid 3px var(--mainColor);
    width: fit-content;
}

h2 {
    font-size: 2.0em;
    border-radius: .5em;
    width: fit-content;
}

h2::before {
    content: "H2";
    border-radius: .3em;
    font-size: .8em;
    padding: 3px 7px;
    margin-right: 15px;
    background-color: var(--mainColor);
    color: white;
}

h3 {
    font-size: 1.7em;
    border-radius: .3em; 
    width: fit-content;
}

h3::before {
    content: "H3";
    color : white;
    font-size: 0.8em;
    background-color: var(--mainColor);
    border-radius: .3em;
    margin-right: 12px;
    padding: 4px 7px;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.3em;
}

hr {
    width: 60%;
    text-align:center;
    border-bottom: solid 1px var(--mainColor);
    margin: 4.3em auto;
}


img {
    border-radius: 1em;
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
}

code {
    background-color: var(--lightColor);
    font-family: 'Cascadia code', "Courier New", monospace;
}

blockquote {
    padding: 10px 10px 1px;
    font-size: 0.9em;
    color: rgb(60, 60, 60);
    border-left: 6px solid var(--mainColor);
    background: var(--lightColor);
    border-radius : 0.5em;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    background: rgba(230, 235, 237, 0.25);
    border-radius: 0.375em;
    border: solid 1px rgba(210, 215, 217, 0.75);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em; 
  }
  
pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0; 
}
pre > code {
    display: block;
    line-height: 1.75;
    padding: 1em 1.5em;
    overflow-x: auto;
    background: rgba(230, 235, 237, 0.25);
    border-radius: 0.7em;
    border: solid 1px rgba(210, 215, 217, 0.75);
    font-family: 'Cascadia code', "Courier New", monospace;
    font-size: 15px;
    margin: 0 0.25em;
    border-top: rgb(51, 51, 51) solid 35px;
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
}

pre > code:before {
    content: "";
    background: #fc625d;
    box-shadow: 23px 0 #fdbc40, 45px 0 #35cd4b;
    border-radius: 50%;
    margin-top: -2.4rem;
    margin-left: -5px;
    position: absolute;
    height: 12px;
    width: 12px;
}

table
{
    width: 95%;
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
    font-family: "Cascadia Code";
}
table td, table th
{
    border: 1px solid transparent;
    height: 30px;
    border-radius: .5em;
}
table thead th
{
    font-size: 20px;
    font-weight: bolder;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}
table tr:nth-child(odd)
{
    background: white;
}
table tr:nth-child(even)
{
    background: var(--lightColor);
}

body {
    padding: 3% 6%;
    font-family: "Roboto Slab", "SimHei", serif;
    background-color: rgb(255, 255, 255);
}

div {
    color: black;
}

p {
    color: black;
    margin: 0 0 2em 0;  
    font-size: 1.0em;
    font-family: "Roboto Slab", "Microsoft YaHei"
}

.img-caption {
    padding-top: 0;
    margin-top: 0;
    border-bottom: 2px solid var(--shadowColor);
    width: fit-content;
}

iframe {
    border-radius: 1.2em;
    box-shadow: 0 0 8px 3px rgba(181, 181, 182, 0.9);
    max-width: 95%;
    filter: var(--darkImg);
}

html {
    filter: var(--darkHtml);
    padding: 10px;
}

img {
    filter: var(--darkImg);
}

@page{
    margin: 0px;
}

@media print and (color) { 
    * { 
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact; 
    }
}